<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      try {
        const age = prompt("age");
        if (+age > 0 && +age < 130) {
          console.log(age);
        } else {
          throw new Error("error age");
        }
        console.log(1);
      } catch (error) {
        console.log(error.message);
      }

      console.log(2);
      console.log(3);
    </script>
  </body>
</html>
